package cn.edu.xmu.wnw.dao;

// default package

import java.util.List;

import org.springframework.context.ApplicationContext;

import cn.edu.xmu.wnw.pojo.WikiComment;

public interface WikiCommentDAO {

	public void initDao();

	public void save(WikiComment transientInstance);

	public void delete(WikiComment persistentInstance);

	public WikiComment findById(java.lang.Integer id);

	public List findByExample(WikiComment instance);

	public List findByProperty(String propertyName, Object value);

	public List findByContent(Object content);

	public List findByCreateUserName(Object createUserName);

	public List findAll();

	public WikiComment merge(WikiComment detachedInstance);

	public void attachDirty(WikiComment instance);

	public void attachClean(WikiComment instance);

	public WikiCommentDAO getFromApplicationContext(ApplicationContext ctx);
}